package com.kfm.company.mapper;

import com.kfm.company.model.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author ASUS
* @description 针对表【emp】的数据库操作Mapper
* @createDate 2023-11-07 09:22:25
* @Entity com.kfm.company.model.Emp
*/
@Mapper
public interface EmpMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    List<Emp> selectAll();

    List<Emp> selectByDeptNo(Integer deptNo);

}
